<@master template="/common/master"  title="我的账户">
<@css href="/css/wx/recruit/dk.css" rel="stylesheet"/>
<div class="">
		<div class="account">
			<@img src="/images/wx/recruit/account/account.png" alt=""/>
			<p>${userEntity.mobile}</p>
		</div>
		<div class="acc-form">
	    <span class="tit">贷款申请</span>
				<ul>
    	<li>
    		<a href="/eascs-o2o-h5/index" class="acc-list">申请终端贷
    		<span>
    			<i class="advance"></i></span>
    		</a>
</li>
        <li>
        	<a href="/eascs-o2o-h5/reloan/index" class="acc-list">申请续贷
    		<span>
    			<i class="advance"></i></span>
    		</a>
</li>
    </ul>
		</div>
		<div class="acc-form">
	    <span class="tit">贷款查询</span>
				<ul>
    	<li>
    		<a href="/eascs-o2o-h5/loan/scheduelInquery" class="acc-list">贷款进度
    		<span>
    			<i class="advance"></i></span></a>
</li>
</ul>
		</div>
	</div>
</@master>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?3ab2a83a372d20f084552b836c038302";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<@js>
$(document).ready(function(){
    	$('#subBtn').bind("click",function(){
    		var uname=$('#subForm input[name="uname"]').val();
    		if(!uname){
    			$('#errorText').text('姓名不能为空');
    			return false;
    		}
    		var rege=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
    		var idCard=$('#subForm input[name="idCard"]').val();
    		if(!rege.test(idCard)){
    			$('#errorText').text('身份证为空或格式不对');
    			return false;
    		}
    		var rege=/^(?:13\d|14\d|15\d|17\d|18\d)-?\d{5}(\d{3}|\*{3})$/;
    		var mobile=$('#subForm input[name="mobile"]').val();
    		if(!rege.test(mobile)){
    			$('#errorText').text('手机号码为空或格式不对');
    			return false;
    		}
    		$('#errorText').text('');
    		$('#subForm').submit();
    	});
	});
</@js> <@jsRender/>
